
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module html</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>html</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/Phillip/apjac373/pydoc/html.py">/home/Phillip/apjac373/pydoc/html.py</a></font></td></tr></table>
    <p><tt>#/usr/bin/env&nbsp;python<br>
#<br>
#&nbsp;HTML&nbsp;module&nbsp;holds&nbsp;&nbsp;wrapper&nbsp;classes&nbsp;representing&nbsp;the&nbsp;python&nbsp;instances&nbsp;of&nbsp;their&nbsp;html&nbsp;equivalents.&nbsp;Makes&nbsp;templating&nbsp;easy.<br>
#</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="html.html#CheckBox">CheckBox</a>
</font></dt><dt><font face="helvetica, arial"><a href="html.html#DropDown">DropDown</a>
</font></dt><dt><font face="helvetica, arial"><a href="html.html#MultiSelect">MultiSelect</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CheckBox">class <strong>CheckBox</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>python&nbsp;instance&nbsp;of&nbsp;html&nbsp;checkbox,&nbsp;str&nbsp;overloaded&nbsp;for&nbsp;easy&nbsp;template&nbsp;use<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="CheckBox-__init__"><strong>__init__</strong></a>(self, checked<font color="#909090">=False</font>, name<font color="#909090">='defaultName'</font>)</dt><dd><tt>Constructs&nbsp;checkbox.&nbsp;Defaulted&nbsp;to&nbsp;unchecked,&nbsp;with&nbsp;name&nbsp;'approved'.</tt></dd></dl>

<dl><dt><a name="CheckBox-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>returns&nbsp;html&nbsp;tags&nbsp;for&nbsp;building&nbsp;checkbox</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="DropDown">class <strong>DropDown</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>python&nbsp;instance&nbsp;of&nbsp;html&nbsp;dropdown,&nbsp;str&nbsp;overloaded&nbsp;for&nbsp;easy&nbsp;template&nbsp;use<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="DropDown-__init__"><strong>__init__</strong></a>(self, options<font color="#909090">=()</font>, selected<font color="#909090">=''</font>, name<font color="#909090">='defaultName'</font>, submitOnChange<font color="#909090">=False</font>)</dt><dd><tt>Constructs&nbsp;dropdown.&nbsp;Defaulted&nbsp;to&nbsp;empty&nbsp;list,&nbsp;no&nbsp;options.&nbsp;Defaulted&nbsp;to&nbsp;select&nbsp;top&nbsp;element</tt></dd></dl>

<dl><dt><a name="DropDown-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>returns&nbsp;html&nbsp;tags&nbsp;for&nbsp;building&nbsp;dropdown</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="MultiSelect">class <strong>MultiSelect</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>python&nbsp;instance&nbsp;of&nbsp;html&nbsp;<a href="#MultiSelect">MultiSelect</a>,&nbsp;str&nbsp;verloaded&nbsp;for&nbsp;easy&nbsp;template&nbsp;use<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="MultiSelect-__init__"><strong>__init__</strong></a>(self, options<font color="#909090">=()</font>, selected<font color="#909090">=()</font>, name<font color="#909090">='cs373ta'</font>, size<font color="#909090">=10</font>)</dt><dd><tt>Constructs&nbsp;multiselect.&nbsp;&nbsp;Defaulted&nbsp;to&nbsp;empty&nbsp;list,&nbsp;no&nbsp;options.&nbsp;&nbsp;Defaulted&nbsp;to&nbsp;select&nbsp;no&nbsp;elements</tt></dd></dl>

<dl><dt><a name="MultiSelect-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>returns&nbsp;html&nbsp;tags&nbsp;for&nbsp;building&nbsp;<a href="#MultiSelect">MultiSelect</a></tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>